package com.mooke.service.impl;


import com.mooke.dao.Impl.TeacherDaoImpl;
import com.mooke.entity.*;
import com.mooke.service.TeacherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;


@Service
@Transactional
public class TeacherServiceImpl implements TeacherService {



    @Autowired
    private TeacherDaoImpl teacherDao;


    @Override
    public boolean  addVacate(String id, Map<String, Object> map){
        return teacherDao.addVacate(id,map);
    };



}
